<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j"%>
<%@taglib prefix="rich" uri="http://richfaces.org/rich"%>

<%
            request.setAttribute("nombrePagina", "Listado de Personas");
%>

<f:view>

    <%@include file="/WEB-INF/jspf/cabeceraSeguridad.jspf" %>

    <h:messages styleClass="messages_content"
                layout="table"
                errorClass="errorClass"
                warnClass="warnClass"
                infoClass="infoClass" />

    <h:form>
        
        <h:commandLink id="btnReporteHTML"
                       accesskey="H"
                       value="Reporte HTML"
                       styleClass="btn"
                       target="_blank"
                       action="#{iu.lanzarReporteHTML}" />

        <br/>
        <h:commandLink id="btnReportePDF"
                       accesskey="P"
                       value="Reporte PDF"
                       styleClass="btn"
                       action="#{iu.lanzarReportePDF}" />

        <br/>
        <h:commandLink id="btnDocWord"
                       accesskey="W"
                       value="Doc Word"
                       styleClass="btn"
                       action="#{CompraVentaVehiculoController.descargaPlantillaEjemplo}" />

    </h:form>

    <%@include  file="/WEB-INF/jspf/pie.jspf" %>

</f:view>
